import React, { Suspense } from 'react';
import { useRoutes } from 'react-router-dom'
import router from './router/index'
import './App.css';
import './utiles/icon/iconfont.css'

function App() {
  return (
    <div className="App">
      <Suspense fallback={<div>loding...</div>}>
        {useRoutes(router)}
      </Suspense>
    </div>
  );
}

export default App;
